<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
if(session.getAttribute("account") == null){
	response.sendRedirect("index.jsp");
}
%>
<!DOCTYPE html> 
<html><!-- InstanceBegin template="/Templates/indexLogin.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<title>个人信息管理系统</title>

<link href="jquery-mobile/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css" />
<script src="jquery-mobile/jquery-1.6.min.js"></script>
<script src="jquery-mobile/jquery.mobile-1.0.min.js"></script>

<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript">

</script>
<!-- InstanceEndEditable -->
</head> 
<body> 

<div data-role="page" id="page">
	<div data-role="header">

	<!-- InstanceBeginEditable name="header" -->
		<h1>创建便签</h1>
        <!-- InstanceEndEditable -->
        	<a href="logoff" data-role="button" class="ui-btn-right">
    注销
    </a>
           <div data-role="navbar">
        	<ul>
            <li><a href="dayAtAGlanceAction" id="main">一日行程</a></li>
            <li><a href="noteList" id="notes">便签</a></li>
            <li><a href="taskList" id="tasks">任务</a></li>
            <li><a href="contactList" id="contacts">联系</a></li>
            <li><a href="appointmentList" id="appointments">约会</a></li>
            </ul>
        </div>
	</div>
	<!-- InstanceBeginEditable name="content" -->
	<div data-role="content">	
	  <div id="noteEdit">
                
                <form id="noteCreateForm" method="post" action="noteCreate">
                <p id="notetitle"><span>主题:</span><input type="text" name="note.subject" /></p>
                <p id="notecontent"><span>内容:</span><textarea id="content" name="note.text"></textarea></p>
                <button id="savebutton" type="submit" data-icon="plus" data-iconpos="top" value="确认"></button>
                </form>
          </div>    	
	</div>
    <!-- InstanceEndEditable -->
	<!-- InstanceBeginEditable name="footer" -->
	<div data-role="footer" align="center">
		
	</div>
    <!-- InstanceEndEditable -->
</div>
<!-- InstanceBeginEditable name="endLoad" -->
<script type="text/javascript">

</script>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
